//
//  TTNewsDataSource.m
//  UADE-Mobile
//
//  Created by Marcos Damian Pianelli on 11/10/11.
//  Copyright (c) 2011 DG. All rights reserved.
//

#import "TTNewsDataSource.h"

@implementation TTNewsDataSource



- (UIImage*)imageForEmpty {
    return TTIMAGE(@"bundle://Three20.bundle/images/empty.png");
}

- (NSString*)titleForEmpty {
    return NSLocalizedString(@"No News", @"");
}

- (NSString*)subtitleForEmpty {
    return NSLocalizedString(@"Don't worry news will appear soon.", @"");
}

- (UIImage*)imageForError:(NSError*)error {
    return TTIMAGE(@"bundle://Three20.bundle/images/error.png");
}

- (NSString*)subtitleForError:(NSError*)error {
    return NSLocalizedString(@"There was an error loading your news.", @"");
}



@end
